package com.tsing.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tsing.wms.entity.GoodsEntity;
import com.tsing.wms.vo.PageResultVO;
import com.tsing.wms.vo.req.GoodsReqVO;
import com.tsing.wms.vo.req.IdReqVO;
import com.tsing.wms.vo.req.IdsReqVO;
import com.tsing.wms.vo.req.SupplierPageReqVO;
import com.tsing.wms.vo.resp.GoodsRespVO;
import com.tsing.wms.vo.resp.IdAndNameRespVO;

import java.util.List;

/**
 * <p>
 * 货物表 服务类
 * </p>
 *
 * @author TheTsing
 * @since 2022-04-13
 */
public interface IGoodsService extends IService<GoodsEntity> {

    List<IdAndNameRespVO> supplierList();

    void addGoods(GoodsReqVO reqVO);

    void deleteGoods(IdsReqVO reqVO);

    GoodsRespVO getGoods(IdReqVO reqVO);

    void updateGoods(GoodsReqVO reqVO);

    PageResultVO<GoodsRespVO> goodsPage(SupplierPageReqVO reqVO);

}
